package
{
	public class UintToByte
	{
		public function UintToByte()
		{
		}
		
		//每个数最大只能到65535
		public static function intToByte(firstInt:uint,secondInt:uint):uint
		{
			var sss:int = firstInt <<16
			var result:uint = sss | secondInt;
			return result;
		}
		
		public static function getStartId(source:uint):uint
		{
			return source>>>16;
		}
		
		public static function getEndId(source:uint):uint
		{
			return source & 0xFFFF;
		}
	}
}